package com.spring5.learning.service.impl;

import com.spring5.learning.service.AbstractCommand;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @author xin
 * @version 1.0
 */
@Scope("prototype")
@Component
public class AsyncCommand extends AbstractCommand {


    @Override
    public Object execute() {
        System.out.println("execute");
        return commandState;
    }
}
